package top.lfyao.designpattern.details.adapter;

/**
 * 适配器类，通过在内部包装一个Adaptee对象，把原接口转换成目标接口
 */
public class Adapter implements Target{
    private Adaptee adaptee;

    @Override
    public void request() {
        adaptee=new Adaptee();
        adaptee.specialRequest();
    }
}
